import request from '@/utils/request'

export const buyCourse = data => {
  return request({
    method: 'POST',
    url: '/course/buyCourse',
    data
  })
}

export const getOrderById = params => {
  return request({
    method: 'GET',
    url: '/user/getOrderById',
    params
  })
}


